body {
    font-size: 100%;
    line-height: 1.125em; /*font-family: 'Lucida Sans', 'Helvetica', 'Sans-serif', 'sans', sans-serif;*/
    font-family: 'Arial', sans-serif;
}

* {
    margin: 0;
    padding: 0;
}

p, th, td, li, a, legend {
    font-size: 0.875em;
}

h1 {
    margin: 0.5em 0.25em;
    font-size: 1.4em;
}

h3.wizard_head {
    padding-bottom: 1em
}

.sidenote {
    font-size: 0.75em;
}

#userinfo ul li {
    display: inline;
}

#userinfo {
    text-align: right;
    margin: 0.5em 1em;
}

/* section */
.cp-bar {
    text-align: left;
    background-color: #E5ECF9;
    border-top: 1px solid #3366CC;
    margin: 0 0 1.25em;
    padding: 0.25em 0.5em;
}

.p-unit {
    margin-left: 1em;
}

.p-content {
    padding-left: 1em;
    margin-left: 190px;
    display: block;
    text-align: left;
    position: absolute;
}

.p-first {
    position: absolute;
    width: 180px;
}

.p-nav {
    border-right: 3px solid #E5ECF9;
    padding-top: 1em;
}

.p-nav ul li {
    list-style-type: none;
    padding: 0;
    line-height: 1.5em;
}

.p-nav ul {
    margin: 0;
    padding: 0;
}

.p-nav li a {
    padding-left: 0.5em;
}

.p-nav li a:link, .p-nav li a:visited {
    color: #0000CC;
}

.p-section, .cp-bar {
    margin-left: 1em;
    margin-right: 1em;
}

.p-nav-selected {
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-topleft: 4px;
    background-color: #E5ECF9;
    color: #000000;
    display: block;
    font-weight: bold;
    margin-right: -1px;
    display: block;
}

table {
    border-collapse: collapse;
}

table.ae-table {
    border: 1px solid #C5D7EF;
    empty-cells: show;
    margin-bottom: 0.5em;
}

.even td {
    background-color: #E9E9E9;
}

table.ae-table thead th {
    background: #C5D7EF none repeat scroll 0 0;
    font-weight: bold;
    vertical-align: bottom;
    text-align: center;
}

table.ae-table th, table td {
    background-color: #FFFFFF;
    margin: 0;
    padding: 0.35em 1em 0.25em 0.35em;
}

table.ae-table td a {
    margin-left: 0.5em;
    margin-right: 0.5em;
}

a:link, a:visited {
    color: #0000CC;
}

label span {
    color: #666;
}

/* wizard */
.wicketExtensionsWizardHeaderTitle {
    font-size: 1.2em;
    font-weight: bold;
}

.wicketExtensionsWizardHeaderSummary {
    color: gray;
    font-style: italic;
}

.wicketExtensionsWizardButtonBar, .buttonsPanel {
    text-align: right;
}

.feedbackPanel li {
    color: red;
    font-weight: bold;
    list-style: none;
}

button, input[type='button'], input[type='submit'] {
    padding: 0.1em .7em;
}

.wicketExtensionsWizardViewInner label span {
    display: block;
    float: left;
    width: 100px;
    text-align: right;
    margin-right: 10px;
    margin-top: 3px;
}

.wicketExtensionsWizardViewInner label span.yui-skin-sam {
    display: inline;
    float: none;
}

.wicketExtensionsWizardViewInner p {
    margin: 1em 0; /*width: 750px;*/
}

/*input { border:expression(this.type=='text' ? '1px solid red' : 'default'); }*/
.wicketExtensionsWizardViewInner input[type='text'] {
    width: 300px;
}

.wicketExtensionsWizardViewInner input[type='checkbox'] {
    margin-top: 3px;
}

.wicketExtensionsWizardViewInner textarea {
    width: 300px;
}

.wicketExtensionsWizardViewInner select option {
    padding: 1px 3px;
}

/* wizard pages layout */
h3.wizard_head {
    padding-bottom: 1em
}

span.error_message {
    color: red;
    font-size: 0.875em;
}

.reduce_font label span {
    font-size: 0.875em; /* reduce font to be equal to wicket wizard */
}

.vertical_center_span label span {
    float: left;
    margin-left: 3px;
    margin-top: 2px;
    margin-right: 3px;
}

legend {
    font-weight: bold;
    padding: 0 0.5em;
    color: gray;
}

/** TAB PANEL */
div.tabpanel4 div.tab-row ul {
    height: 20px;
    margin: 0;
    padding-left: 10px;
    background: url( ../images/tabs4/tab_bottom.gif ) repeat-x bottom;
}

div.tabpanel4 div.tab-row li {
    margin: 0;
    padding: 0;
    display: inline;
    list-style-type: none;
}

div.tabpanel4 div.tab-row a:link, div.tabpanel4 div.tab-row a:visited {
    float: left;
    background: #f3f3f3;
    font-size: 12px;
    line-height: 14px;
    font-weight: bold;
    padding: 2px 10px 2px 10px;
    margin-right: 4px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #666;
}

div.tabpanel4 div.tab-row li.selected a, div.tabpanel4 div.tab-row a:visited.active {
    border-bottom: 1px solid #fff;
    background: #fff;
    color: #000;
}

div.tabpanel4 div.tab-row a:hover {
    background: #fff;
}

/* VARIATION 1 TAB PANEL STYLES */
div.tabpanel1 div.tab-row {
float:none;
width:100%;
/*background:#DAE0D2 url("../images/tabs1/bg.gif") repeat-x bottom;*/
    line-height: normal;
    /*clear: both;*/
}

div.tabpanel1 div.tab-row ul {
    margin: 0;
    padding: 10px 10px 0;
    list-style: none;
}

div.tabpanel1 div.tab-row li {
    float: left;
    background: url( "../images/tabs1/left.gif" ) no-repeat left top;
    margin: 0;
    padding: 0 0 0 9px;
}

div.tabpanel1 div.tab-row a {
    display: block;
    background: url( "../images/tabs1/right.gif" ) no-repeat right top;
    padding: 5px 15px 4px 6px;
    text-decoration: none;
    font-weight: bold;
    color: #765;
    white-space: nowrap;
}

div.tabpanel1 div.tab-row a:hover {
    color: #333;
}

div.tabpanel1 div.tab-row li.selected {
    background-image: url( "../images/tabs1/left_on.gif" );
}

div.tabpanel1 div.tab-row li.selected a {
    background-image: url( "../images/tabs1/right_on.gif" );
    color: #333;
    padding-bottom: 5px;
}

hr.clear {
    visibility: hidden;
    clear: both;
    display: block;
}